﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：MessageReceivedEventArgs.cs
// 功能描述：TongTongMall
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Events;

namespace TongTongMall.Commanding.Messaging
{
    /// <summary>
    /// 消费者产生的消息
    /// </summary>
    public class MessageReceivedEventArgs : EventArgs 
    {
        public MessageReceivedEventArgs(MessageData message)
        {
            this.Message = message;
        }

        /// <summary>
        /// 消息内容
        /// </summary>
        public MessageData Message { get; set; }
    }
}
